package entity

import (
	"gluenet/internal/glue-srvp/domain/po"
	"gluenet/internal/pkg/infra"
)

type Link struct {
	infra.Entity `xorm:"-" json:"-"`
	po.Link      `xorm:"extends" json:",inline"`
}

func (r Link) TableName() string {
	return "srvp_link"
}

func (r Link) Identity() int64 {
	return r.Id
}
